package com.ljh.cloudmusic.mapper;

import com.ljh.cloudmusic.model.LoveMusic;
import com.ljh.cloudmusic.model.Music;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface LoveMusicMapper {
    LoveMusic selectSingleLoveMusic(Integer userId, Integer musicId);
    Boolean insertLoveMusic(Integer userId, Integer musicId, String createTime);
    Boolean updateLoveMusic(Integer userId, Integer musicId, Integer isFavorite);
    Integer deleteLoveMusic(Integer id);
}
